extends Node2D

func enter():
	pass
	
func update(delta):
	var input_dir = Input.get_vector("left","right","down","up")
	owner.velocity = input_dir * owner.move_speed
	owner.move_and_slide()

func exit():
	pass
